package client.controller;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JOptionPane;

public class B_connectionController  extends AbstractController implements ActionListener {

	public B_connectionController(MainController mc)
	{
		super(mc);
	}

	@Override
	public void actionPerformed(ActionEvent arg0)
	{
		int button = getMainController().getConnectionDialog().showDialog();
		// L'utilisateur a cliqué sur OK
		if (button == JOptionPane.OK_OPTION)
		{
			
		}
	}

	@Override
	public boolean isValid() {
		return true;
	}

}
